﻿#ifndef SCROLLEDSTACKEDWIDGET_H
#define SCROLLEDSTACKEDWIDGET_H

#include <QtGui>

class scrolledStackedWidget : public QWidget
{
    Q_OBJECT

    QScrollArea *scrollArea;
    QStackedWidget *stackWidget;
public:
    explicit scrolledStackedWidget(QList<QWidget *> & pages,QWidget *parent = 0);
    QString currentPageName();
    void changePage(int idx);

signals:
    
public slots:


};

#endif // SCROLLEDSTACKEDWIDGET_H
